import { Chemistry } from '@vicons/carbon'
import type { PluginConfig } from '@/interface'
import { ZipPlugin, MockPage } from './views'

export const pluginConfig: PluginConfig = {
  name: 'testPlugin',
  title: '插件测试',
  icon: Chemistry,
  order: 15,
  enable: true,
  children: [
    {
      name: 'unzipDemo',
      component: ZipPlugin,
      title: 'zip解压',
      keepAlive: true,
    },
    {
      name: 'mockDemo',
      component: MockPage,
      title: 'mock.js演示',
      keepAlive: true,
    },
  ],
}
